package com.bdzl.ecs.service.impl;

import com.bdzl.ecs.dao.ContractOnlineDao;
import com.bdzl.ecs.service.ContractOnlineService;
import com.bdzl.ecs.servicefeign.FddCaPersonalFeignService;
import com.bdzl.pub.entity.loan.ContractOnlineDO;
import org.checkerframework.checker.units.qual.A;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service
public class ContractOnlineServiceImpl implements ContractOnlineService {
	@Autowired
	private ContractOnlineDao contractOnlineDao;
	@Autowired
	private FddCaPersonalFeignService fddCaPersonalFeignService;

	@Override
	public ContractOnlineDO get(Integer onlineId){
		return contractOnlineDao.get(onlineId);
	}

	@Override
	public List<ContractOnlineDO> list(Map<String, Object> map){
		return contractOnlineDao.list(map);
	}

	@Override
	public int count(Map<String, Object> map){
		return contractOnlineDao.count(map);
	}

	@Override
	public int save(ContractOnlineDO contractOnline){
		return contractOnlineDao.save(contractOnline);
	}

	@Override
	public int update(ContractOnlineDO contractOnline){
		return contractOnlineDao.update(contractOnline);
	}

	@Override
	public int remove(Integer onlineId){
		return contractOnlineDao.remove(onlineId);
	}

	@Override
	public int batchRemove(Integer[] onlineIds){
		return contractOnlineDao.batchRemove(onlineIds);
	}

}
